package com.example.ymm.model;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class YmPageDto {

    @Schema( name = "页码", required = true)
    @NotNull(message = "页码不能为空")
    Integer page ;
    @Schema( name = "页数", required = true)
    @NotNull(message = "页数不能为空")
    Integer pageSize;
}
